#include "widget.h"
#include "ui_widget.h"

Widget::Widget(QWidget *parent)
    : QWidget(parent)
    , ui(new Ui::Widget)
{
    ui->setupUi(this);

    // 为按钮设置图标
    ui->pushButton->setIcon(QIcon(":/image/1.png"));
    ui->pushButton->setIconSize(QSize(75,75));
}

Widget::~Widget()
{
    delete ui;
}

